package com.usian.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.article.pojos.ApAuthor;
import com.usian.model.common.dtos.ResponseResult;

public interface ApAuthorService extends IService<ApAuthor> {
    ResponseResult saveAuthor(ApAuthor apAuthor);

    ApAuthor findByUserId(Integer userId);

    ApAuthor findByName(String name);

    ApAuthor findByWmUserId(Integer userId);
}
